#ifndef __MYI2C_H
#define __MYI2C_H

#define I2C_H	0
#define I2C_R	1


void MyI2C_Init(void);
//void MyI2C_Start(void);
//void MyI2C_Stop(void);
//void MyI2C_SendByte(uint8_t Byte);
//uint8_t MyI2C_ReceiveByte(void);
//void MyI2C_SendAck(uint8_t AckBit);
//uint8_t MyI2C_ReceiveAck(void);
uint8_t I2C_ReadByte(uint8_t Address, uint8_t RegAddress);
void I2C_WriteByte(uint8_t Address, uint8_t RegAddress, uint8_t Data);
void I2C_ReadRaw(uint8_t Address, uint8_t RegAddress, uint8_t *Buff, uint8_t size);

#endif
